<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class RoleUser extends Model
{
    protected $pk='id';
      public function role()
    {
        return $this->hasOne(Role::class,"r_id","r_id");
    }
}
